3.3.47 \(\int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx\) [247]

3.3.47.1 Optimal result
3.3.47.2 Mathematica [B] (warning: unable to verify)
3.3.47.3 Rubi [A] (verified)
3.3.47.4 Maple [F]
3.3.47.5 Fricas [B] (verification not implemented)
3.3.47.6 Sympy [F(-1)]
3.3.47.7 Maxima [F(-2)]
3.3.47.8 Giac [F]
3.3.47.9 Mupad [F(-1)]

3.3.47.1 Optimal result

Integrand size = 26, antiderivative size = 1512 \[ \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx=-\frac {i a (e+f x)^3}{b \left (a^2-b^2\right ) d}+\frac {3 a f (e+f x)^2 \log \left (1-\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right ) d^2}+\frac {i a^2 (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d}-\frac {i (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d}+\frac {3 a f (e+f x)^2 \log \left (1-\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right ) d^2}-\frac {i a^2 (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d}+\frac {i (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d}-\frac {6 i a f^2 (e+f x) \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right ) d^3}+\frac {3 a^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d^2}-\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d^2}-\frac {6 i a f^2 (e+f x) \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right ) d^3}-\frac {3 a^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d^2}+\frac {3 f (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d^2}+\frac {6 a f^3 \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right ) d^4}+\frac {6 i a^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d^3}-\frac {6 i f^2 (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d^3}+\frac {6 a f^3 \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right ) d^4}-\frac {6 i a^2 f^2 (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d^3}+\frac {6 i f^2 (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d^3}-\frac {6 a^2 f^3 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d^4}+\frac {6 f^3 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d^4}+\frac {6 a^2 f^3 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d^4}-\frac {6 f^3 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d^4}-\frac {a (e+f x)^3 \cos (c+d x)}{\left (a^2-b^2\right ) d (a+b \sin (c+d x))} \]

output
-6*I*a*f^2*(f*x+e)*polylog(2,I*b*exp(I*(d*x+c))/(a+(a^2-b^2)^(1/2)))/b/(a^ 
2-b^2)/d^3+3*a*f*(f*x+e)^2*ln(1-I*b*exp(I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/b/ 
(a^2-b^2)/d^2+6*I*f^2*(f*x+e)*polylog(3,I*b*exp(I*(d*x+c))/(a+(a^2-b^2)^(1 
/2)))/b/d^3/(a^2-b^2)^(1/2)+3*a*f*(f*x+e)^2*ln(1-I*b*exp(I*(d*x+c))/(a+(a^ 
2-b^2)^(1/2)))/b/(a^2-b^2)/d^2-I*a*(f*x+e)^3/b/(a^2-b^2)/d+I*a^2*(f*x+e)^3 
*ln(1-I*b*exp(I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/b/(a^2-b^2)^(3/2)/d+3*a^2*f* 
(f*x+e)^2*polylog(2,I*b*exp(I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/b/(a^2-b^2)^(3 
/2)/d^2-6*I*f^2*(f*x+e)*polylog(3,I*b*exp(I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/ 
b/d^3/(a^2-b^2)^(1/2)-3*a^2*f*(f*x+e)^2*polylog(2,I*b*exp(I*(d*x+c))/(a+(a 
^2-b^2)^(1/2)))/b/(a^2-b^2)^(3/2)/d^2+6*a*f^3*polylog(3,I*b*exp(I*(d*x+c)) 
/(a-(a^2-b^2)^(1/2)))/b/(a^2-b^2)/d^4-6*I*a*f^2*(f*x+e)*polylog(2,I*b*exp( 
I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/b/(a^2-b^2)/d^3+6*a*f^3*polylog(3,I*b*exp( 
I*(d*x+c))/(a+(a^2-b^2)^(1/2)))/b/(a^2-b^2)/d^4+6*I*a^2*f^2*(f*x+e)*polylo 
g(3,I*b*exp(I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/b/(a^2-b^2)^(3/2)/d^3-6*a^2*f^ 
3*polylog(4,I*b*exp(I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/b/(a^2-b^2)^(3/2)/d^4+ 
6*a^2*f^3*polylog(4,I*b*exp(I*(d*x+c))/(a+(a^2-b^2)^(1/2)))/b/(a^2-b^2)^(3 
/2)/d^4-a*(f*x+e)^3*cos(d*x+c)/(a^2-b^2)/d/(a+b*sin(d*x+c))-I*a^2*(f*x+e)^ 
3*ln(1-I*b*exp(I*(d*x+c))/(a+(a^2-b^2)^(1/2)))/b/(a^2-b^2)^(3/2)/d+I*(f*x+ 
e)^3*ln(1-I*b*exp(I*(d*x+c))/(a+(a^2-b^2)^(1/2)))/b/d/(a^2-b^2)^(1/2)-3*f* 
(f*x+e)^2*polylog(2,I*b*exp(I*(d*x+c))/(a-(a^2-b^2)^(1/2)))/b/d^2/(a^2-...
 
3.3.47.2 Mathematica [B] (warning: unable to verify)

Both result and optimal contain complex but leaf count is larger than twice the leaf count of optimal. \(4970\) vs. \(2(1512)=3024\).

Time = 24.16 (sec) , antiderivative size = 4970, normalized size of antiderivative = 3.29 \[ \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx=\text {Result too large to show} \]

input
Integrate[((e + f*x)^3*Sin[c + d*x])/(a + b*Sin[c + d*x])^2,x]
 
output
(3*b*e^2*f*((Pi*ArcTan[(b + a*Tan[(c + d*x)/2])/Sqrt[a^2 - b^2]])/Sqrt[a^2 
 - b^2] + (2*(-c + Pi/2 - d*x)*ArcTanh[((a + b)*Cot[(-c + Pi/2 - d*x)/2])/ 
Sqrt[-a^2 + b^2]] - 2*(-c + ArcCos[-(a/b)])*ArcTanh[((-a + b)*Tan[(-c + Pi 
/2 - d*x)/2])/Sqrt[-a^2 + b^2]] + (ArcCos[-(a/b)] - (2*I)*(ArcTanh[((a + b 
)*Cot[(-c + Pi/2 - d*x)/2])/Sqrt[-a^2 + b^2]] - ArcTanh[((-a + b)*Tan[(-c 
+ Pi/2 - d*x)/2])/Sqrt[-a^2 + b^2]]))*Log[Sqrt[-a^2 + b^2]/(Sqrt[2]*Sqrt[b 
]*E^((I/2)*(-c + Pi/2 - d*x))*Sqrt[a + b*Sin[c + d*x]])] + (ArcCos[-(a/b)] 
 + (2*I)*(ArcTanh[((a + b)*Cot[(-c + Pi/2 - d*x)/2])/Sqrt[-a^2 + b^2]] - A 
rcTanh[((-a + b)*Tan[(-c + Pi/2 - d*x)/2])/Sqrt[-a^2 + b^2]]))*Log[(Sqrt[- 
a^2 + b^2]*E^((I/2)*(-c + Pi/2 - d*x)))/(Sqrt[2]*Sqrt[b]*Sqrt[a + b*Sin[c 
+ d*x]])] - (ArcCos[-(a/b)] + (2*I)*ArcTanh[((-a + b)*Tan[(-c + Pi/2 - d*x 
)/2])/Sqrt[-a^2 + b^2]])*Log[1 - ((a - I*Sqrt[-a^2 + b^2])*(a + b - Sqrt[- 
a^2 + b^2]*Tan[(-c + Pi/2 - d*x)/2]))/(b*(a + b + Sqrt[-a^2 + b^2]*Tan[(-c 
 + Pi/2 - d*x)/2]))] + (-ArcCos[-(a/b)] + (2*I)*ArcTanh[((-a + b)*Tan[(-c 
+ Pi/2 - d*x)/2])/Sqrt[-a^2 + b^2]])*Log[1 - ((a + I*Sqrt[-a^2 + b^2])*(a 
+ b - Sqrt[-a^2 + b^2]*Tan[(-c + Pi/2 - d*x)/2]))/(b*(a + b + Sqrt[-a^2 + 
b^2]*Tan[(-c + Pi/2 - d*x)/2]))] + I*(PolyLog[2, ((a - I*Sqrt[-a^2 + b^2]) 
*(a + b - Sqrt[-a^2 + b^2]*Tan[(-c + Pi/2 - d*x)/2]))/(b*(a + b + Sqrt[-a^ 
2 + b^2]*Tan[(-c + Pi/2 - d*x)/2]))] - PolyLog[2, ((a + I*Sqrt[-a^2 + b^2] 
)*(a + b - Sqrt[-a^2 + b^2]*Tan[(-c + Pi/2 - d*x)/2]))/(b*(a + b + Sqrt...
 
3.3.47.3 Rubi [A] (verified)

Time = 3.43 (sec) , antiderivative size = 1512, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {7293, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx\)

\(\Big \downarrow \) 7293

\(\displaystyle \int \left (\frac {(e+f x)^3}{b (a+b \sin (c+d x))}-\frac {a (e+f x)^3}{b (a+b \sin (c+d x))^2}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {6 a \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f^3}{b \left (a^2-b^2\right ) d^4}+\frac {6 a \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f^3}{b \left (a^2-b^2\right ) d^4}+\frac {6 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f^3}{b \sqrt {a^2-b^2} d^4}-\frac {6 a^2 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f^3}{b \left (a^2-b^2\right )^{3/2} d^4}-\frac {6 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f^3}{b \sqrt {a^2-b^2} d^4}+\frac {6 a^2 \operatorname {PolyLog}\left (4,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f^3}{b \left (a^2-b^2\right )^{3/2} d^4}-\frac {6 i a (e+f x) \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f^2}{b \left (a^2-b^2\right ) d^3}-\frac {6 i a (e+f x) \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f^2}{b \left (a^2-b^2\right ) d^3}-\frac {6 i (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f^2}{b \sqrt {a^2-b^2} d^3}+\frac {6 i a^2 (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f^2}{b \left (a^2-b^2\right )^{3/2} d^3}+\frac {6 i (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f^2}{b \sqrt {a^2-b^2} d^3}-\frac {6 i a^2 (e+f x) \operatorname {PolyLog}\left (3,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f^2}{b \left (a^2-b^2\right )^{3/2} d^3}+\frac {3 a (e+f x)^2 \log \left (1-\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f}{b \left (a^2-b^2\right ) d^2}+\frac {3 a (e+f x)^2 \log \left (1-\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f}{b \left (a^2-b^2\right ) d^2}-\frac {3 (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f}{b \sqrt {a^2-b^2} d^2}+\frac {3 a^2 (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right ) f}{b \left (a^2-b^2\right )^{3/2} d^2}+\frac {3 (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f}{b \sqrt {a^2-b^2} d^2}-\frac {3 a^2 (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right ) f}{b \left (a^2-b^2\right )^{3/2} d^2}-\frac {i a (e+f x)^3}{b \left (a^2-b^2\right ) d}-\frac {i (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d}+\frac {i a^2 (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a-\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d}+\frac {i (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \sqrt {a^2-b^2} d}-\frac {i a^2 (e+f x)^3 \log \left (1-\frac {i b e^{i (c+d x)}}{a+\sqrt {a^2-b^2}}\right )}{b \left (a^2-b^2\right )^{3/2} d}-\frac {a (e+f x)^3 \cos (c+d x)}{\left (a^2-b^2\right ) d (a+b \sin (c+d x))}\)

input
Int[((e + f*x)^3*Sin[c + d*x])/(a + b*Sin[c + d*x])^2,x]
 
output
((-I)*a*(e + f*x)^3)/(b*(a^2 - b^2)*d) + (3*a*f*(e + f*x)^2*Log[1 - (I*b*E 
^(I*(c + d*x)))/(a - Sqrt[a^2 - b^2])])/(b*(a^2 - b^2)*d^2) + (I*a^2*(e + 
f*x)^3*Log[1 - (I*b*E^(I*(c + d*x)))/(a - Sqrt[a^2 - b^2])])/(b*(a^2 - b^2 
)^(3/2)*d) - (I*(e + f*x)^3*Log[1 - (I*b*E^(I*(c + d*x)))/(a - Sqrt[a^2 - 
b^2])])/(b*Sqrt[a^2 - b^2]*d) + (3*a*f*(e + f*x)^2*Log[1 - (I*b*E^(I*(c + 
d*x)))/(a + Sqrt[a^2 - b^2])])/(b*(a^2 - b^2)*d^2) - (I*a^2*(e + f*x)^3*Lo 
g[1 - (I*b*E^(I*(c + d*x)))/(a + Sqrt[a^2 - b^2])])/(b*(a^2 - b^2)^(3/2)*d 
) + (I*(e + f*x)^3*Log[1 - (I*b*E^(I*(c + d*x)))/(a + Sqrt[a^2 - b^2])])/( 
b*Sqrt[a^2 - b^2]*d) - ((6*I)*a*f^2*(e + f*x)*PolyLog[2, (I*b*E^(I*(c + d* 
x)))/(a - Sqrt[a^2 - b^2])])/(b*(a^2 - b^2)*d^3) + (3*a^2*f*(e + f*x)^2*Po 
lyLog[2, (I*b*E^(I*(c + d*x)))/(a - Sqrt[a^2 - b^2])])/(b*(a^2 - b^2)^(3/2 
)*d^2) - (3*f*(e + f*x)^2*PolyLog[2, (I*b*E^(I*(c + d*x)))/(a - Sqrt[a^2 - 
 b^2])])/(b*Sqrt[a^2 - b^2]*d^2) - ((6*I)*a*f^2*(e + f*x)*PolyLog[2, (I*b* 
E^(I*(c + d*x)))/(a + Sqrt[a^2 - b^2])])/(b*(a^2 - b^2)*d^3) - (3*a^2*f*(e 
 + f*x)^2*PolyLog[2, (I*b*E^(I*(c + d*x)))/(a + Sqrt[a^2 - b^2])])/(b*(a^2 
 - b^2)^(3/2)*d^2) + (3*f*(e + f*x)^2*PolyLog[2, (I*b*E^(I*(c + d*x)))/(a 
+ Sqrt[a^2 - b^2])])/(b*Sqrt[a^2 - b^2]*d^2) + (6*a*f^3*PolyLog[3, (I*b*E^ 
(I*(c + d*x)))/(a - Sqrt[a^2 - b^2])])/(b*(a^2 - b^2)*d^4) + ((6*I)*a^2*f^ 
2*(e + f*x)*PolyLog[3, (I*b*E^(I*(c + d*x)))/(a - Sqrt[a^2 - b^2])])/(b*(a 
^2 - b^2)^(3/2)*d^3) - ((6*I)*f^2*(e + f*x)*PolyLog[3, (I*b*E^(I*(c + d...
 

3.3.47.3.1 Defintions of rubi rules used

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

rule 7293
Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v] 
]
 
3.3.47.4 Maple [F]

\[\int \frac {\left (f x +e \right )^{3} \sin \left (d x +c \right )}{\left (a +b \sin \left (d x +c \right )\right )^{2}}d x\]

input
int((f*x+e)^3*sin(d*x+c)/(a+b*sin(d*x+c))^2,x)
 
output
int((f*x+e)^3*sin(d*x+c)/(a+b*sin(d*x+c))^2,x)
 
3.3.47.5 Fricas [B] (verification not implemented)

Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 5184 vs. \(2 (1320) = 2640\).

Time = 0.62 (sec) , antiderivative size = 5184, normalized size of antiderivative = 3.43 \[ \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx=\text {Too large to display} \]

input
integrate((f*x+e)^3*sin(d*x+c)/(a+b*sin(d*x+c))^2,x, algorithm="fricas")
 
output
Too large to include
 
3.3.47.6 Sympy [F(-1)]

Timed out. \[ \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx=\text {Timed out} \]

input
integrate((f*x+e)**3*sin(d*x+c)/(a+b*sin(d*x+c))**2,x)
 
output
Timed out
 
3.3.47.7 Maxima [F(-2)]

Exception generated. \[ \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx=\text {Exception raised: ValueError} \]

input
integrate((f*x+e)^3*sin(d*x+c)/(a+b*sin(d*x+c))^2,x, algorithm="maxima")
 
output
Exception raised: ValueError >> Computation failed since Maxima requested 
additional constraints; using the 'assume' command before evaluation *may* 
 help (example of legal syntax is 'assume(4*b^2-4*a^2>0)', see `assume?` f 
or more de
 
3.3.47.8 Giac [F]

\[ \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx=\int { \frac {{\left (f x + e\right )}^{3} \sin \left (d x + c\right )}{{\left (b \sin \left (d x + c\right ) + a\right )}^{2}} \,d x } \]

input
integrate((f*x+e)^3*sin(d*x+c)/(a+b*sin(d*x+c))^2,x, algorithm="giac")
 
output
integrate((f*x + e)^3*sin(d*x + c)/(b*sin(d*x + c) + a)^2, x)
 
3.3.47.9 Mupad [F(-1)]

Timed out. \[ \int \frac {(e+f x)^3 \sin (c+d x)}{(a+b \sin (c+d x))^2} \, dx=\text {Hanged} \]

input
int((sin(c + d*x)*(e + f*x)^3)/(a + b*sin(c + d*x))^2,x)
 
output
\text{Hanged}